import { Table } from "antd";
import React from "react";

function ListTable({ columns, dataSource, loading }) {
    return (
        <Table
            rowKey="id"
            loading={loading}
            dataSource={dataSource}
            columns={columns}
            
        />
    );
}

export default React.memo(ListTable);
